<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="global.css" rel="stylesheet" type="text/css" rev="stylesheet" />

	<script type="text/javascript" charset="utf-8" src="js/mootools-1.2b2.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/growl.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/main.js"></script>
	{literal}
	<script type="text/javascript">
	<!--
		function test(){}{
	//		alert(2);
		}		
	// -->
	</script>
	{/literal}


	<title>Simpleswitch</title>
</head>

<body>
	<div id="main">
		<div id="head"><img src="images/logo.png" /></div>
		<div id="menu">
			{if $user_info.username}
				<a href="?action=users" class="fleft first">Users</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=ivr" class="fleft menuItem">IVR</a><img src="images/border.jpg" alt="" class="fleft" />	
				<a href="?action=ivr" class="fleft menuItem">Dial Plan</a><img src="images/border.jpg" alt="" class="fleft" />	
				<a href="?action=reports" class="fleft menuItem">Reports</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=trunks" class="fleft menuItem">Trunks</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=server" class="fleft menuItem">Server</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=plugins" class="fleft menuItem">Plugins</a><img src="images/border.jpg" alt="" class="fleft" />
			{else}
				<div class="fleft first">&nbsp;</div>
			{/if}
			<span class="right"></span>
			<span class="fright login">
				{if $user_info.username}
					[{$user_info.username}] &nbsp;<a class="login" href="?action=do_logout">logout</a>
				{else}
					{t name="matt"}my name is %1{/t}  Server: [ {$remote_addr} ]
				{/if}
			</span>
		</div>
		<div id="center">
